package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description
 * @Author
 * @Date 2025/4/20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("age_population")
public class AgePopulation {

    @TableId(type= IdType.AUTO)
    private Integer id;

    //年份
    private Integer age;

    //男女
    private String gender;

    private Long number;
}
